import { BaseController, CoolController } from "@cool-midway/core";
import { OrderVerifyEntity } from "../../entity/verify";
import { OrderVerifyService } from "../../service/verify";

/**
 * 订单核销
 */
@CoolController({
    api: ['add', 'delete', 'update', 'info', 'list', 'page'],
    entity: OrderVerifyEntity,
    service: OrderVerifyService,
    serviceApis: [
        'generateCode',
        'consume'
    ],
    pageQueryOp: {
        fieldEq: ['a.orderId', 'a.itemId', 'a.status']
    }
})
export class ProviderOrderVerifyController extends BaseController { }


